Description | : Triggers a training job for a project. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "TextAuthoringProject_Train", "$parameters": { "body": { "$properties": { "dataGenerationSettings": [ { "dataGenerationConnectionInfo": [ { "#name": "kind", "Enum": { "new": [ [ "AzureOpenAI", "" ] ], "old": [ [ "azureOpenAI", "" ] ] } } ] } ] } } } }
⚼ Request
POST:
/authoring/analyze-text/projects/{projectName}/:train
{
api-version:
string
,
projectName:
string
,
body:
}
{
,
modelLabel:
string
,
trainingConfigVersion:
string
,
evaluationOptions:
{
,
kind:
enum
,
trainingSplitPercentage:
integer
,
testingSplitPercentage:
integer
,
}
dataGenerationSettings:
}
{
,
enableDataGeneration:
boolean
,
dataGenerationConnectionInfo:
}
{
,
kind:
enum
,
resourceId:
string
,
deploymentName:
string
,
}
⚐ Response (202)
{
operation-location:
string
,
}
⚐ Response (default)
{
$headers:
{
,
x-ms-error-code:
string
,
}
$schema:
}
{
,
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
innererror:
}
{
,
code:
string
,
innererror:
string
,
}